<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex align-stretch benben-position-layout flex application_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex align-center justify-between flex-sub application_fd0_0'      >
            <view   class='flex align-center application_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  application_fd0_0_c0_c0'  >&#xE794;</text>
</view>
    <view   class='flex align-center'      >
        <text class='application_fd0_0_c1_c0'  >提现申请成功</text>
</view>
    <view   class='flex align-center application_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>

 <view class="flex flex-direction flex-wrap align-center benben-flex-layout application_flex_1"    >
        <image class='application_fd1_0'  mode="aspectFit"  :src='STATIC_URL+"97.png"'></image>
<text class='application_fd1_1'  >提交申请成功</text>
    <template v-for = '(item,key0) in dataMessage'>
    <view   class='flex flex-wrap align-center application_fd1_2'       :key='key0'>
        <text   >提现方式：</text>
<text   >{{item.account_type}}</text>
</view>
    </template>
    
    <template v-for = '(item,key0) in dataMessage'>
    <view   class='flex flex-wrap align-center application_fd1_2'       :key='key0'>
        <text   >提现金额：</text>
<text   >{{item.change_money}}</text>
<text   >元</text>
</view>
    </template>
    
</view>
        

    
    
        </view>
    </view>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        
        
        data(){
			return {"name_type":"","dataMessage":[],"type":"微信","money":"100"};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {type,money}=options
if (type !== undefined) this.type = type
if (money !== undefined) this.money = money
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            this.withdrawalFunc()
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //提现
                async withdrawalFunc(){
                        //请求方法
    //数据验证
    
  let datadataMessage = await this.$api.post(global.apiUrls.post636e4ff0626ef, {
    account_type:this.type,cash_fee:this.money
  });
  
  if (datadataMessage.data.code != 1) {
    this.$message.info(datadataMessage.data.msg);
    return
  } 
  let infodataMessage = datadataMessage.data;
  this.dataMessage = infodataMessage.data
  
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#fff;background-size: 100% auto;
        }
    .application_flex_0{
        border-bottom:1px solid #eee;background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .application_fd0_0_c1_c0{
        font-size:36rpx;font-weight:500;color:#333;
    }
    .application_fd0_0_c0_c0{
        font-size:32rpx;font-weight:500;color:#333;
    }
    .application_fd0_0_c0{
        width:180rpx;
    }
    .application_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;
    }
    .application_flex_1{
        padding:185rpx 0rpx 0rpx 0rpx;
    }
    .application_fd1_2{
        font-size:28rpx;font-weight:400;color:rgba(102, 102, 102, 1);
    }
    .application_fd1_1{
        margin:0rpx 0rpx 32rpx 0rpx;font-size:36rpx;font-weight:700;color:#333;
    }
    .application_fd1_0{
        width:250rpx;height:180rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 0rpx 40rpx 0rpx;
    }
</style>